package domain;

public class Series extends Video {

	
	private Integer idSerie,seasons,chapters;
	private String state;
	public Series() {
		super();
	}
	
	
	public Series( Integer _idSerie, String _title, Integer _year, Integer _duration,
			String _description, String _country, String _genre, String _cover, Integer _seasons, Integer _chapters, String _state, Integer _idVideo) {
		super(_idVideo,_title, _year, _duration, _description, _country, _genre, _cover);
		idSerie=_idSerie;
		seasons=_seasons;
		chapters=_chapters;
		state=_state;
		
	}
	
	public Series(String _title, Integer _year, Integer _duration,
			String _description, String _country, String _genre, String _cover, Integer _seasons, Integer _chapters, String _state, Integer _idVideo) {
		super(_idVideo,_title, _year, _duration, _description, _country, _genre, _cover);
		seasons=_seasons;
		chapters=_chapters;
		state=_state;		
	}

	/**
	 * @return the number of seasons
	 */
	public Integer getseasons() {
		return seasons;
	}

	/**
	 * @param seasons the number of seasons to set
	 */
	public void setseasons(Integer seasons) {
		this.seasons = seasons;
	}

	/**
	 * @return the number of chapters
	 */
	public Integer getchapters() {
		return chapters;
	}

	/**
	 * @param chapters the number of chapters to set
	 */
	public void setchapters(Integer chapters) {
		this.chapters = chapters;
	}

	/**
	 * @return the state
	 */
	public String getstate() {
		return state;
	}

	/**
	 * @param state the state to set
	 */
	public void setstate(String state) {
		this.state = state;
	}

	/**
	 * @return a string representation at a Series
	 */
	@Override
	public String toString() {
		return super.toString()+"Temporadas: " + seasons + "\nCapitulos: " + chapters
				+ "\nEstado: " + state; 
	}


	public Integer getIdserie() {
		return idSerie;
	}	

}
